package domain;

import java.util.Date;

public class FixedArea {
    private String id;

    private String company;

    private String fixedAreaLeader;

    private String fixedAreaName;

    private String operatingCompany;

    private Date operatingTime;

    private String operator;

    private String telephone;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getFixedAreaLeader() {
        return fixedAreaLeader;
    }

    public void setFixedAreaLeader(String fixedAreaLeader) {
        this.fixedAreaLeader = fixedAreaLeader;
    }

    public String getFixedAreaName() {
        return fixedAreaName;
    }

    public void setFixedAreaName(String fixedAreaName) {
        this.fixedAreaName = fixedAreaName;
    }

    public String getOperatingCompany() {
        return operatingCompany;
    }

    public void setOperatingCompany(String operatingCompany) {
        this.operatingCompany = operatingCompany;
    }

    public Date getOperatingTime() {
        return operatingTime;
    }

    public void setOperatingTime(Date operatingTime) {
        this.operatingTime = operatingTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", company=").append(company);
        sb.append(", fixedAreaLeader=").append(fixedAreaLeader);
        sb.append(", fixedAreaName=").append(fixedAreaName);
        sb.append(", operatingCompany=").append(operatingCompany);
        sb.append(", operatingTime=").append(operatingTime);
        sb.append(", operator=").append(operator);
        sb.append(", telephone=").append(telephone);
        sb.append("]");
        return sb.toString();
    }
}